<%-- 
    Document   : editArticle
    Created on : Jun 1, 2012, 2:54:20 PM
    Author     : ciummo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>


<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="/DGestWebServer/css/dgest.css"/>
        <title>Modifica Articolo</title>
    </head>
    <body>
        
        <%@ include file="../adminDialogBar.jspf" %>
        
        <h1>Modifica </h1>
        
        <div class="error">
            <html:errors />
        </div>
        
        <html:form action="Article?method=submitArticle&func=edit" method="POST" enctype="multipart/form-data">
             
            <table class="center"><tbody>

                <div id="OrderInformation">
                    
                    <tr><td><h2>Dettagli Articolo</h2></td></tr>
                    
                    <tr>
                        <td>Codice Articolo: </td>
                        <td><html:text name="ArticleActionForm" property="codArticolo" maxlength="6" readonly="true"/></td>
                    </tr>
                    
                    <tr> 
                    <td>Tipo di Articolo: </td>
                    <td>
                    <html:select property="tipo" >
                    <html:option value="0">Selezionare...</html:option>
                    <html:optionsCollection name="ArticleActionForm" property="listaTipi" label="title" value="title"/>
                    </html:select>
                    </td>

                    <tr>
                        <td>Nome: </td>
                        <td><html:text name="ArticleActionForm" property="nome"/></td>
                    </tr>                     
                    
                    
                    <tr>
                        <td>Prezzo Base: </td>
                        <td><html:text name="ArticleActionForm" property="prezzo" maxlength="10" /></td>
                    </tr>                    
 
                    <tr>
                        <td>Note: </td>
                        <td><html:text name="ArticleActionForm" property="note" /></td>
                    </tr>                        
                    
                    

                    
                    
                    <tr>
                        <td>
                            <html:submit>
                                Submit
                            </html:submit>

                            <html:cancel>
                                Cancel
                            </html:cancel>
                        </td>
                    </tr>
                    
                    
                    
            </table></tbody>
                    
        </html:form>
        
        <%@ include file="../footBar.jspf" %>
    </body>
</html>
